package Java_3_1;

public class Java_3_1_16 {

	public static void main(String[] args) {
		for(int i=1;i<=9;++i) {
			int a=19;
			for(int j=1;j<=a;++j) {
				
				if(Math.abs(j-(a-1)/2)+1>i){
					System.out.print(" ");
				}else {
					System.out.print("*");
				}
				
			}
			System.out.println();
		}
	}

}
